# pip install opencv-python
import cv2

# 读取图片
image_data = cv2.imread("../data/1.jpg", 0)

for line in image_data:
    # 归一化
    # line = [1 if i > 126 else 0 for i in line]
    print(list(line))
